<template>
    <div class="content">
        <h2>Lesson1:vue2</h2>
        <Person></Person>
    </div>
</template>
<script lang="ts">
//引入组件
import Person from './Person.vue'
//注册组件
export default{
    name:'App',//组件名
    components:{Person}//注册
}
</script>
<style>
.content{
    text-align: center;
}
</style>